package com.yuyunbo.hbase.autoconfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: yuyunbo-1154363414@qq.com
 * @Date: 2020/5/9 11:15
 * @Description:
 */
@ConfigurationProperties(prefix = "hbase.client")
public class HbaseConfigProperties {

    private String zookeeperList;
    private String zookeeperClientPort;
    private String zookeeperZnodeParent;
    private String userName = "hbase";
    private String dbNameSpace;
    private String zkSessionTimeout = "18000";
    private String hbaseClientRetriesNumber = "5";

    public String getZookeeperList() {
        return zookeeperList;
    }

    public void setZookeeperList(String zookeeperList) {
        this.zookeeperList = zookeeperList;
    }

    public String getZookeeperClientPort() {
        return zookeeperClientPort;
    }

    public void setZookeeperClientPort(String zookeeperClientPort) {
        this.zookeeperClientPort = zookeeperClientPort;
    }

    public String getZookeeperZnodeParent() {
        return zookeeperZnodeParent;
    }

    public void setZookeeperZnodeParent(String zookeeperZnodeParent) {
        this.zookeeperZnodeParent = zookeeperZnodeParent;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDbNameSpace() {
        return dbNameSpace;
    }

    public void setDbNameSpace(String dbNameSpace) {
        this.dbNameSpace = dbNameSpace;
    }

    public String getZkSessionTimeout() {
        return zkSessionTimeout;
    }

    public void setZkSessionTimeout(String zkSessionTimeout) {
        this.zkSessionTimeout = zkSessionTimeout;
    }

    public String getHbaseClientRetriesNumber() {
        return hbaseClientRetriesNumber;
    }

    public void setHbaseClientRetriesNumber(String hbaseClientRetriesNumber) {
        this.hbaseClientRetriesNumber = hbaseClientRetriesNumber;
    }
}
